package com.qs.user.ui.VM;

import android.databinding.ObservableField;
import android.databinding.ObservableInt;
import android.support.annotation.NonNull;
import android.view.View;

import com.qs.base.data.MyFileEntity;

import me.goldze.mvvmhabit.base.ItemViewModel;
/**
* 我的文件itemvm
* @Author ltzz
* @Date 2019/8/24
*/
public class MyFileItemViewModel extends ItemViewModel<MyFileViewModel> {
    public ObservableField<MyFileEntity> mItemEntity = new ObservableField<>();
    public ObservableInt isSelect=new ObservableInt(View.GONE);


    public MyFileItemViewModel(@NonNull MyFileViewModel viewModel, MyFileEntity itemEntity,int isSelect) {
        super(viewModel);
        mItemEntity.set(itemEntity);
        this.isSelect.set(isSelect);
    }

}
